<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html" />
		<title>登陆注册</title>
		<link href="style/logincss.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div id="content">
			<div id="login">
				<div class="logo"></div>
				<%
						String code = request.getParameter("code");
				%>
				<div class="neirong">
					<h4>已注册用户请从这里登陆</h4>
					<% 
						if("111".equals(code)){
					 %>
					<h4 style="color:red;margin:0px;padding:0px;">请您先登陆！</h4>
					<%} %>
					<form method="post" action="l_login.jsp">
						Email/手机 ： <input type="text" name="useremail"/>
						<p>密 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码 ： <input type="password" name="userpwd"/></p>
						<a href="#">忘记密码</a><br/>
						<p>验&nbsp;&nbsp;证&nbsp;&nbsp;&nbsp;码：<input style="width:103px"  type="text" name="check"/></p>
						<input class="button" type="submit" name="登陆" style="cursor:pointer" value=""/>
					</form>
				</div>
			</div>
			<div id="reg">
				<div class="logo" style="background:url(images/regist-tit.jpg)"></div>
				<div class="neirong">
					<h4>新用户请从这里注册</h4>
					
					<% 
						if("110".equals(code)){
					 %>
					<h4 style="color:red;margin:0px;padding:0px;">该用户不存在，请您先注册</h4>
					<%} %>
					<form method="post" action="l_reg.jsp">
						邮箱地址：<input type="text" name="useremail"/><br/>
						<span>接收订单通知、促销活动、找回密码、填写后不能修改</span>
						<p style="margin-top:8px;margin-bottom:0px" >密 &nbsp;码 ： <input type="password" name="userpwd"/></p>
						<span margin-top: 7px; margin-bottom: 0px;>6-16位字符，可由英文、数字“_“、”-“组成</span>
						密码确认：<input type="text" name="checkpwd"/><br/>
						<p style="margin-bottom:6px">验&nbsp;证&nbsp;码：<input style="width:103px;" type="text" name="check"/></p>
						&nbsp;&nbsp;<input type="checkbox" style="width:13px;height:13px"/>我已阅读并同意
						<a href="#" style="width:117px;height:15px;margin-left:0px">《idaphne用户服务协议》</a>
						<input class="button" type="submit" name="注册" style="background:url(images/btn_regist.jpg);cursor:pointer" value="" />
					</form>
				</div>
			</div>
		</div>
	</body>
</html>